<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template basic_stream</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1. Boost.Convert 2.0">
<link rel="up" href="../../header/boost/convert/stream_hpp.html" title="Header &lt;boost/convert/stream.hpp&gt;">
<link rel="prev" href="../../header/boost/convert/stream_hpp.html" title="Header &lt;boost/convert/stream.hpp&gt;">
<link rel="next" href="basic_stream/ibuffer_type.html" title="Struct ibuffer_type">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
<a accesskey="p" href="../../header/boost/convert/stream_hpp.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/convert/stream_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="basic_stream/ibuffer_type.html"><img src="../../images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.cnv.basic_stream"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template basic_stream</span></h2>
<p>boost::cnv::basic_stream</p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../header/boost/convert/stream_hpp.html" title="Header &lt;boost/convert/stream.hpp&gt;">boost/convert/stream.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Char<span class="special">&gt;</span> 
<span class="keyword">struct</span> <a class="link" href="basic_stream.html" title="Struct template basic_stream">basic_stream</a> <span class="special">{</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">Char</span>                                  <a name="boost.cnv.basic_stream.char_type"></a><span class="identifier">char_type</span><span class="special">;</span>       
  <span class="keyword">typedef</span> <a class="link" href="basic_stream.html" title="Struct template basic_stream">boost::cnv::basic_stream</a><span class="special">&lt;</span> <span class="identifier">char_type</span> <span class="special">&gt;</span> <a name="boost.cnv.basic_stream.this_type"></a><span class="identifier">this_type</span><span class="special">;</span>       
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_stringstream</span><span class="special">&lt;</span> <span class="identifier">char_type</span> <span class="special">&gt;</span>  <a name="boost.cnv.basic_stream.stream_type"></a><span class="identifier">stream_type</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_istream</span><span class="special">&lt;</span> <span class="identifier">char_type</span> <span class="special">&gt;</span>       <a name="boost.cnv.basic_stream.istream_type"></a><span class="identifier">istream_type</span><span class="special">;</span>    
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_streambuf</span><span class="special">&lt;</span> <span class="identifier">char_type</span> <span class="special">&gt;</span>     <a name="boost.cnv.basic_stream.buffer_type"></a><span class="identifier">buffer_type</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">char_type</span> <span class="special">&gt;</span>        <a name="boost.cnv.basic_stream.stdstr_type"></a><span class="identifier">stdstr_type</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">ios_base</span> <span class="special">&amp;</span><span class="special">(</span><span class="special">*</span><span class="special">)</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">ios_base</span> <span class="special">&amp;</span><span class="special">)</span>   <a name="boost.cnv.basic_stream.manipulator_type"></a><span class="identifier">manipulator_type</span><span class="special">;</span>

  <span class="comment">// member classes/structs/unions</span>

  <span class="keyword">struct</span> <a class="link" href="basic_stream/ibuffer_type.html" title="Struct ibuffer_type">ibuffer_type</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">buffer_type</span> <span class="special">{</span>
    <span class="comment">// <a class="link" href="basic_stream/ibuffer_type.html#boost.cnv.basic_stream.ibuffer_typeconstruct-copy-destruct">construct/copy/destruct</a></span>
    <a class="link" href="basic_stream/ibuffer_type.html#idm12251-bb"><span class="identifier">ibuffer_type</span></a><span class="special">(</span><span class="identifier">char_type</span> <span class="keyword">const</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span><span class="special">;</span>

  <span class="keyword">struct</span> <a class="link" href="basic_stream/obuffer_type.html" title="Struct obuffer_type">obuffer_type</a> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">buffer_type</span> <span class="special">{</span>
  <span class="special">}</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="basic_stream.html#boost.cnv.basic_streamconstruct-copy-destruct">construct/copy/destruct</a></span>
  <a class="link" href="basic_stream.html#idm12344-bb"><span class="identifier">basic_stream</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_stream.html#idm12345-bb"><span class="identifier">basic_stream</span></a><span class="special">(</span><a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_stream.html#idm12349-bb"><span class="identifier">basic_stream</span></a><span class="special">(</span><a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span>
  <a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;</span> <a class="link" href="basic_stream.html#idm12353-bb"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="basic_stream.html#idm12273-bb">public member functions</a></span>
   <a class="link" href="basic_stream.html#idm12274-bb"><span class="identifier">BOOST_CNV_STRING_ENABLE</span></a><span class="special">(</span><span class="identifier">type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
   <a class="link" href="basic_stream.html#idm12280-bb"><span class="identifier">BOOST_CNV_STRING_ENABLE</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> type<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="basic_stream.html#idm12286-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">char_type</span> <span class="keyword">const</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> type<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="basic_stream.html#idm12294-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">stdstr_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> manipulator<span class="special">&gt;</span> 
    <span class="identifier">boost</span><span class="special">::</span><span class="identifier">disable_if</span><span class="special">&lt;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">parameter</span><span class="special">::</span><span class="identifier">is_argument_pack</span><span class="special">&lt;</span> <span class="identifier">manipulator</span> <span class="special">&gt;</span><span class="special">,</span> <a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> 
    <a class="link" href="basic_stream.html#idm12302-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">manipulator</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;</span> <a class="link" href="basic_stream.html#idm12309-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">manipulator_type</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;</span> <a class="link" href="basic_stream.html#idm12314-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> argument_pack<span class="special">&gt;</span> 
    <span class="identifier">std</span><span class="special">::</span><span class="identifier">enable_if</span><span class="special">&lt;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">parameter</span><span class="special">::</span><span class="identifier">is_argument_pack</span><span class="special">&lt;</span> <span class="identifier">argument_pack</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">value</span><span class="special">,</span> <a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> 
    <a class="link" href="basic_stream.html#idm12319-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="identifier">argument_pack</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> string_type<span class="special">,</span> <span class="keyword">typename</span> in_type<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="basic_stream.html#idm12326-bb"><span class="identifier">to_str</span></a><span class="special">(</span><span class="identifier">in_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> string_type<span class="special">,</span> <span class="keyword">typename</span> out_type<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="basic_stream.html#idm12335-bb"><span class="identifier">str_to</span></a><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">cnv</span><span class="special">::</span><span class="identifier">range</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span><span class="special">,</span> 
                <span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">out_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="basic_stream.html#idm12359-bb">private member functions</a></span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> argument_pack<span class="special">,</span> <span class="keyword">typename</span> keyword_tag<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="basic_stream.html#idm12360-bb"><span class="identifier">set_</span></a><span class="special">(</span><span class="identifier">argument_pack</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">keyword_tag</span><span class="special">,</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="basic_stream.html#idm12371-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">locale</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="basic_stream.html#idm12375-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">precision</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="basic_stream.html#idm12379-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">width</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="basic_stream.html#idm12383-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">fill</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="basic_stream.html#idm12387-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">uppercase</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="basic_stream.html#idm12391-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">skipws</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="basic_stream.html#idm12395-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">adjust</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="basic_stream.html#idm12399-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">base</span><span class="special">)</span><span class="special">;</span>
   <a class="link" href="basic_stream.html#idm12403-bb"><span class="identifier">BOOST_CNV_PARAM_SET</span></a><span class="special">(</span><span class="identifier">notation</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> string_type<span class="special">,</span> <span class="keyword">typename</span> out_type<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="basic_stream.html#idm12407-bb"><span class="identifier">str_to</span></a><span class="special">(</span><span class="identifier">cnv</span><span class="special">::</span><span class="identifier">range</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">out_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> string_type<span class="special">,</span> <span class="keyword">typename</span> in_type<span class="special">&gt;</span> 
    <span class="keyword">void</span> <a class="link" href="basic_stream.html#idm12416-bb"><span class="identifier">to_str</span></a><span class="special">(</span><span class="identifier">in_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="idm15114"></a><h2>Description</h2>
<div class="refsect2">
<a name="idm15116"></a><h3>
<a name="boost.cnv.basic_streamconstruct-copy-destruct"></a><code class="computeroutput">basic_stream</code> 
        public
       construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a name="idm12344-bb"></a><span class="identifier">basic_stream</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm12345-bb"></a><span class="identifier">basic_stream</span><span class="special">(</span><a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;&amp;</span> other<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm12349-bb"></a><span class="identifier">basic_stream</span><span class="special">(</span><a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;</span> <a name="idm12353-bb"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">delete</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="idm15168"></a><h3>
<a name="idm12273-bb"></a><code class="computeroutput">basic_stream</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"> <a name="idm12274-bb"></a><span class="identifier">BOOST_CNV_STRING_ENABLE</span><span class="special">(</span><span class="identifier">type</span> <span class="keyword">const</span> <span class="special">&amp;</span> v<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> s<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12280-bb"></a><span class="identifier">BOOST_CNV_STRING_ENABLE</span><span class="special">(</span><span class="identifier">string_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> type<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm12286-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">char_type</span> <span class="keyword">const</span> <span class="special">*</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> type<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm12294-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">stdstr_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> s<span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> r<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> manipulator<span class="special">&gt;</span> 
  <span class="identifier">boost</span><span class="special">::</span><span class="identifier">disable_if</span><span class="special">&lt;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">parameter</span><span class="special">::</span><span class="identifier">is_argument_pack</span><span class="special">&lt;</span> <span class="identifier">manipulator</span> <span class="special">&gt;</span><span class="special">,</span> <a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> 
  <a name="idm12302-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">manipulator</span> m<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;</span> <a name="idm12309-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">manipulator_type</span> m<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;</span> <a name="idm12314-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="keyword">const</span> <span class="special">&amp;</span> l<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> argument_pack<span class="special">&gt;</span> 
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">enable_if</span><span class="special">&lt;</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">parameter</span><span class="special">::</span><span class="identifier">is_argument_pack</span><span class="special">&lt;</span> <span class="identifier">argument_pack</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">value</span><span class="special">,</span> <a class="link" href="basic_stream.html#boost.cnv.basic_stream.this_type">this_type</a> <span class="special">&amp;</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> 
  <a name="idm12319-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="identifier">argument_pack</span> <span class="keyword">const</span> <span class="special">&amp;</span> arg<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> string_type<span class="special">,</span> <span class="keyword">typename</span> in_type<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm12326-bb"></a><span class="identifier">to_str</span><span class="special">(</span><span class="identifier">in_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> value_in<span class="special">,</span> 
              <span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> string_out<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> string_type<span class="special">,</span> <span class="keyword">typename</span> out_type<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm12335-bb"></a><span class="identifier">str_to</span><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">cnv</span><span class="special">::</span><span class="identifier">range</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> string_in<span class="special">,</span> 
              <span class="identifier">boost</span><span class="special">::</span><span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">out_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> result_out<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="idm15418"></a><h3>
<a name="idm12359-bb"></a><code class="computeroutput">basic_stream</code> private member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> argument_pack<span class="special">,</span> <span class="keyword">typename</span> keyword_tag<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm12360-bb"></a><span class="identifier">set_</span><span class="special">(</span><span class="identifier">argument_pack</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">keyword_tag</span><span class="special">,</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12371-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">locale</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12375-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">precision</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12379-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">width</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12383-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">fill</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12387-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">uppercase</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12391-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">skipws</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12395-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">adjust</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12399-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">base</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"> <a name="idm12403-bb"></a><span class="identifier">BOOST_CNV_PARAM_SET</span><span class="special">(</span><span class="identifier">notation</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> string_type<span class="special">,</span> <span class="keyword">typename</span> out_type<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm12407-bb"></a><span class="identifier">str_to</span><span class="special">(</span><span class="identifier">cnv</span><span class="special">::</span><span class="identifier">range</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">out_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> string_type<span class="special">,</span> <span class="keyword">typename</span> in_type<span class="special">&gt;</span> 
  <span class="keyword">void</span> <a name="idm12416-bb"></a><span class="identifier">to_str</span><span class="special">(</span><span class="identifier">in_type</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">optional</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2009-2022 Vladimir
      Batov<p>
        Distributed under the Boost Software License, Version 1.0. See copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>.
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../header/boost/convert/stream_hpp.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../header/boost/convert/stream_hpp.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="basic_stream/ibuffer_type.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>
